package com.example.entity.item;

import org.springframework.web.multipart.MultipartFile;

public class ItemFile {
    private MultipartFile file;
    private String itemName;
    private double itemPrice;
    private int itemStock;
    private String itemDesc;
    private String itemCategory;
    private String itemType;
    private String itemClass;

    @Override
    public String toString() {
        return "ItemFile{" +
                "file=" + file +
                ", itemName='" + itemName + '\'' +
                ", itemPrice=" + itemPrice +
                ", itemStock=" + itemStock +
                ", itemDesc='" + itemDesc + '\'' +
                ", itemCategory='" + itemCategory + '\'' +
                ", itemType='" + itemType + '\'' +
                ", itemClass='" + itemClass + '\'' +
                '}';
    }

    public MultipartFile getFile() {
        return file;
    }

    public void setFile(MultipartFile file) {
        this.file = file;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public double getItemPrice() {
        return itemPrice;
    }

    public void setItemPrice(double itemPrice) {
        this.itemPrice = itemPrice;
    }

    public int getItemStock() {
        return itemStock;
    }

    public void setItemStock(int itemStock) {
        this.itemStock = itemStock;
    }

    public String getItemDesc() {
        return itemDesc;
    }

    public void setItemDesc(String itemDesc) {
        this.itemDesc = itemDesc;
    }

    public String getItemCategory() {
        return itemCategory;
    }

    public void setItemCategory(String itemCategory) {
        this.itemCategory = itemCategory;
    }

    public String getItemType() {
        return itemType;
    }

    public void setItemType(String itemType) {
        this.itemType = itemType;
    }

    public String getItemClass() {
        return itemClass;
    }

    public void setItemClass(String itemClass) {
        this.itemClass = itemClass;
    }
}
